import Vue from "vue";
import "./autoRegisterCom"; //引入自动注册全局组件
import "./request"; //引入http请求
import { resetUrl } from "./resetUrl"; //挂载到全局用大括号
import {
  getStorage,
  setStorage,
  removeStorageItem,
  clearStorageItem,
} from "./storage";
import { toFixed } from "./money";
import { formTime } from "./fromTime";

Vue.prototype.$resetUrl = resetUrl;
Vue.prototype.$getStorage = getStorage;
Vue.prototype.$setStorage = setStorage;
Vue.prototype.$removeStorageItem = removeStorageItem;
Vue.prototype.$clearStorageItem = clearStorageItem;

Vue.prototype.$toFixed = toFixed;
Vue.prototype.$formTime = formTime;
